import React, { Component } from 'react';
import { View, Text, StyleSheet } from 'react-native';
import {
  Navbar,
} from '../DodLibrary/index';
// create a component
class About extends Component {
  render() {
    return (
      <View style={styles.container}>
        <Navbar
          title="About Dod Library"
        />
        <Text onPress={() => this.props.navigation.navigate('Me')}>About</Text>
      </View>
    );
  }
}


const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: '#2c3e50',
  },
});

export default About;
